package com.jalarbee.core.user.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;
import com.jalarbee.core.user.dao.exception.NoSuchUserFound;

import com.jalarbee.core.generic.dao.GenericDao;
import com.jalarbee.core.user.business.User;
import com.jalarbee.core.user.util.UserFilter;
import com.jalarbee.core.util.Chunk;

public interface UserDao extends GenericDao<User, Integer> {

    List<User> find(UserFilter filter, Chunk chunk) throws DataAccessException;
    
    User findUserByName(String name) throws NoSuchUserFound;
}
